<?php
session_start();

if(isset($_POST['upload']))
{
  include('/class.upload.php');

  $upload = new Upload();

  if($upload->uploadProcess())
    echo "De upload van het bestand is voltooid.";
  else
    $upload->showErrors();

}
?>
<form enctype="multipart/form-data" action="upload.php" method="POST">
<h3>Uploadformulier testen</h3>

<input type="file" name="file" />
<br /><br />
Oplossingen van de test:
<select name="testselect">
  <option>test 1</option>
  <option>test 2</option>
  <option>test 3</option>
  <option>test 4</option>
  <option>test 5</option>
</select>
<br /><br />
Opmerkingen / commentaar:<br />
<textarea rows="4" cols="45"></textarea>
<br /><br />
<input type="submit" name="upload" value="Upload File" />
</form>